import {getRequest, postRequest} from "@/api/axios";

export const classifySearch = (classify) => postRequest('classify/getClassify',classify)

export const getAllClassify = () => postRequest('classify/getAllClassify',{})

export const addClassify = (classify) => postRequest('classify/createClassify',classify);

export const updateClassify = (classify) => postRequest('classify/update',classify);

export const deleteClassify = (id) => getRequest('classify/delete',{id})
